﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace FingerPrint.WebUI.Models
{
    // Define the schema and table to connect
    [Table("Customer", Schema = "Person")]
    public class Customer
    {
        //[HiddenInput(DisplayValue = false)]
        public int CustomerID { get; set; }

        [DisplayName("Company Code")]
        [Required(ErrorMessage = "Please enter a Company Code")]
        public string CompanyCode { get; set; }

        [DisplayName("Company Name")]
        [Required(ErrorMessage = "Please enter a Company Name")]
        public string CompanyName { get; set; }

        [DisplayName("Contact ID")]
        public int? ContactID { get; set; }

        [DisplayName("Modified Date")]
        public DateTime? ModifiedDate { get; set; }

    }
}
